#ifndef _ACTION_OPT_H_
#define _ACTION_OPT_H_
#include "Defs.h"


/**
* @brief:
* Action file read and write
*/
class CActionOpt
{
public:
	CActionOpt();
	~CActionOpt();

	static bool Exists(const String &path);
	static bool ReadHeader(const String &path, AeActHeader_t &header);
	static bool ReadPose(const String &path, uint32_t seq, AeActPose_t &pose);
	static bool WriteHeader(const String &path, const AeActHeader_t &header);
	static bool WritePose(const String &path, uint32_t seq, const AeActPose_t &pose);
	static bool UpdateHeader(const String &path, const AeActHeader_t &header);
};

#endif

